Cleanup OpenSSL on program exit