The encryption app needs to create keys when uploading files, so the session needs to be kept open in such case.