make static bool static std::atomic<bool>