Remove imports
Retry S3 uploads and deletes if they fail