async def cancel(self, frame: CancelFrame):
        """Handle service cancellation.

        Args:
            frame: CancelFrame that triggered this method
        """
        await super().cancel(frame)
        self._connection_active = False
        self._buffer = AudioBuffer()
        logger.info("UltravoxSTTService cancelled")
Handle service cancellation.

        Args:
            frame: CancelFrame that triggered this method
        
src/pipecat/services/ultravox/stt.py