Fix LDAP connections on Windows that can close socket while connecting by letting more attempts to do it (till the timeout)