error handeling if LDAP is not reachable