remove dependency from std::crono and std::thread