Fix bug with NSURLErrorCancelled