https://bugs.openldap.org/show_bug.cgi?id=5808
--- Comment #4 from klasen@gmx.net --- The same problem can be observed, if a non-default SocketFactory (e.g. for LDAPS connections) is used:
See https://bugs.openldap.org/show_bug.cgi?id=5808 (SocketFactory does not support a connect timeout.)