Process dequeue nodes in order. Return task data on deque.