LDAP stopping without apparent reason