Don't try syncing if offline.