|
Without this the reported failure would be the first task to fail chronologically. This would not necessarily be the first task to fail in the text, so we need to wait for the other queued tasks to finish and then select the first task in emission order.
|