[fix] stdlib:  Added catch around ldap connection.