refactor: replace win32 thread sleeping and yielding with `std::thread` primitives
Sleep
this_thread::sleep_for