Add limitation to task count.