Use pyaudio, handle connection errors