                 
                 self.reportProgress()
                 
-                if self.cancelled {
+                if self.stopped {
                     if self.tasks.isEmpty {
                         let pendingResources = self.prefetchResources[self.requestedCount..<self.prefetchResources.count]
                         self.failedResources += Array(pendingResources)

    private var failedResources = [Resource]()
    
    private var requestedCount = 0
    private var cancelled = false
    
    // The created manager used for prefetch. We will use the helper method in manager.
    private let manager: KingfisherManager

                return
            }
            
            self.stopped = true
            self.tasks.forEach { (_, task) -> () in
                task.cancel()
            }
