 			return
 		}
 		task.error = error
-		print("Task completed")
 		
 		task.completion(task.data, task.response, task.error)
 		

		didReceive response: URLResponse,
		completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
		
		print("Recieved response")
		
		guard let task = tasks[dataTask] else {
			print("\(dataTask) is not in client task list; cancelling")
			completionHandler(.cancel)

	}
	
	private func performTask(_ task: URLSessionTask, completion: @escaping (Data?, HTTPURLResponse?, Error?) -> Void) {
		usleep(500 * 1000)
		tasks[task] = HTTPTask(task: task, completion: completion)
		task.resume()
