Rather that call 'exit' cleanup on error paths as that allows OpenSSL to cleanup properly in its exit handlers.