make iFailedAlready static std::atomic<int>