             else {
                 self.callbacks.onFinish(.error(.unexpectedResponse))
             }
-            
-            self.taskIsFinished = true
         }
         
         configurationChangeQueue.sync {

            
            task?.resume()
        }
    }
    
    override func observeValue(

        case(#keyPath(URLSessionTask.countOfBytesReceived)):
            callbacks.onRecive(task.countOfBytesReceived, task.countOfBytesExpectedToReceive)
        default:
            super.observeValue(forKeyPath: keyPath, of: object, change: change, context: context)
        }
    }

