This is something that TSAN caught was happening. Grabs the thread creation mutex when checking for idle and extends the sleep time for WaitForIdle to something that is still below unit test run time