Bug with cancel upload

When canceling an upload right as it finishes, `cancelUpload` throws a TypeError because `this.get('xhr')` is null.