Bug with cancel upload

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