Fix "PHP Fatal error: Cannot break/continue 1 level" when ldap_start_tls() fails