     /// - Parameters:
     ///   - error: the error which gets passed to the caller
     public func returnError(with error: NetworkError) {
-        returnError(with: error, count: 1)
+        callbacks.removeFirst().onErrorCallback?(error)
     }
     
     /// Will return an error to the current waiting request.

    public func returnError(with error: NetworkError, count: Int) {
        (0..<count).forEach { _ in
            precondition(!callbacks.isEmpty, "There is no request left to return an error for.")
            callbacks.removeFirst().onErrorCallback?(error)
        }
    }
    

    public func returnSuccess(with data: Data = Data(), httpResponse: HTTPURLResponse = HTTPURLResponse(), count: Int) {
        (0..<count).forEach { _ in
            precondition(!callbacks.isEmpty, "There is no request left to return a success for.")
            returnSuccess(with: data, httpResponse: httpResponse)
        }
    }
    
