add the task to the head instead of en-queueing, since it is faster