Don't de-initialize OpenSSL from function called via signal handler.

Threads are still running and might call OpenSSL functions. Removing the
callbacks etc leads to segfaults.

This leaves a memory leak at shutdown.