Make use of the CRYPTO_ONCE facility for THREADID