GH773: Possible leak on CRYPTO_THREAD_lock_new failure