Fixing another potential LDAP connection leak