[enh] Catch error when LDAP server is down