CPP UPGRADE: MAKING TaskManager::isThreadSafe() PUBLIC