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.
Merge pull request #271 from timiblossom/1.1

Close uploading streams in all cases.