CAS-1343 Use LdapUtils#closeContext().