run multiple tasks in parallel