Fixed a stack overflow with a non-responsive LDAP server on a SASL bind.