Should be replaced with [std::this_thread::sleep_for](https://en.cppreference.com/w/cpp/thread/sleep_for)