Running Grunt tasks in blocks

I have 5 tasks to run. Grunt's task limit is set to 10. I want to run those tasks in a block of two. I meant, run 2 tasks, wait for them to complete, then run other two. How can I do that? I tried to use queue, but did not work