Ticket0747: Refactor the third quarter of code into send_sync_data