Update CacheControllerAsync.cs

 // When there are records records that are not uploading successfully a successfull download 1-N records will cause anchor to be updated if anchor is updated then the records on the device will not be attempted for upload again on subsequent syncs. therefore check for null Error