Is it worth noting in a comment here that the deletion might have worked even if the upload failed, but that's OK because we'll just try again?