[Issue 10141] 100% CPU consumption with ldap_int_tls_connect