[vnc-audio] First attempt to fix write thread