How to find if the LDAP server is not rechable