closing upload session on send files and added test that replicates zipping issue