Added sync to tasks in main runner