Cancel the timer correctly when we have no remaining things to save.
Add the data to the cache array.