Don't cancel a sync unless it is running.