KNOX-459 - fixed LDAP connection leaks in KnoxLdapRealm
KNOX-459 - added null checks to the closing of resultEnums to avoid NPEs