Bugfix: EDOZWO-387 - LDAP connection is closed properly