Complete before running the next

Change behaviour of the task queue. The task from now on gets completed first before running the next one.