Std::vector<bool> is bad in threads