close s3 client in generate-presigned-url