When the sync fail, store the previously downloaded data in memory so that on next retry we don't have to re-download everything.