LDAP config skipping

Is there a way to set the timeout of an LDAP config?

the reason i’m asking is that I have 4 configs in my Nextcloud all connecting to different region domain controllers.
1 region was completely down due to power failure which caused Nextcloud to timeout and not even showing the login page but a server error page.
No logins from the other regions were possible.

Which basically means that LDAP doesn’t skip the failing servers, or the timeouts are way too long causing the server itself to timeout displaying the login page.