S3 client cleanup