Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
You must have enough threads available to support the individual tasks that are being run by a query. Failure to provide the number of required tasks can lead to a query becoming blocked on itself. See Transaction blocking and deadlock.