bugfixes in vox worker code for queue flush