Run tasks in parallel