504 Gateway Timeout

Hello,

I have a particular website that's starting to give me login issues. I'm getting this error "504 Gateway Timeout" more often now everytime I log in to my wordpress sites. Most of my sites are multisite installation. I know for a fact that the issue is the WPMUDEV Defender plugin. I really like that plugin but if it's going to give me this error all the time I'm going to stop using it.

Is there any workaround to this issue? I'd like to keep using the defender plugin...