That looks better. However, I am really not sure what you are trying to achieve here. You didn&#x27;t specify any scheduler, it means your tasks will use a default scheduler and that scheduler uses threadpool [1] and it will never create 1M threads. And as there is no actual work performed in the Task, things will run reasonably fast.<p>I am having hard time understanding what you are trying to test here. I am worried that .NET code is not really testing what you think it is.<p>[1] <a href="https:&#x2F;&#x2F;msdn.microsoft.com&#x2F;en-us&#x2F;library&#x2F;dd997402(v=vs.110).aspx" rel="nofollow">https:&#x2F;&#x2F;msdn.microsoft.com&#x2F;en-us&#x2F;library&#x2F;dd997402(v=vs.110)....</a>