You make a good point. Awaiting a Task.Delay is much better - Thread.Sleep was just used for the illustration. I'll fix it when I get the chance :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.