Fix space leak in S3 Multipart Upload feature