wip
dequeue tasks sequentially