Set maximal size of tasks queue.