[Issue 10469] New: Some TLS option values are leaked on LDAP disposal