ARGUS-157: defensively handle potential connection leaks in LdapUserGroupBuilder