Close LDAP connections