This commit closes the ldap connection after authenticate.

Otherwise nodejs throws an error: This socket has been ended by the other party