Start all the tasks in a thread.