[Git][openldap/openldap][master] ITS#10101 libldap: fix double sb_close when first TLS connection fails