Abort Upload

Not sure how to add tests for this, any ideas?