make a taskmanager for completing tasks in an array