[bz 6440446] Bug with cancel upload

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