Better error handling for deleting failed uploads