Fix for hanging threads issue in some CryptoPP initialiser functions.