Close uploading streams in all cases. This avoids the issue "Too many opening files" when there is an S3 issue blocking the uploading and Priam just keeps the filedescriptor around.