Use a proper method to wait for a PulseAudio operation