Modified to dabble with serially executing sync_tasks