Keep qfile opened until sending finishes