Adding a wait-for-close flag, when uploading a file