feature: #9 Stop syncing when disconnected, and start syncing when connected