[Git][openldap/openldap][OPENLDAP_REL_ENG_2_6] 12 commits: Revert "ITS#9952 libldap: use atexit for TLS teardown"