Thread.Sleep() is not recommended. Instead, call Task.Yield() to yield control to another task.
Thread.Sleep() is not recommended. Instead, call Task.Yield() to yield control to another task.