clean up openssl data structures on exit