tried to close ldap connection