Simplify the logic on the another_ldap_try() loops by breaking