Schedule a sync when we're told we're online (lib)