delete failed uploads and make sure the response for a

successful upload includes the metadata of the resource.