config test: clean up memory leak
global: clean up openssl_locks on shutdown