[vnc-audio] Fix infinite loop issue with pulse audio thread