a task manager which allows just a given count of tasks at a time