async def stop(self, frame: EndFrame):
        """Handle service stop.

        Args:
            frame: EndFrame that triggered this method
        """
        await super().stop(frame)
        self._connection_active = False
        logger.info("UltravoxSTTService stopped")
Handle service stop.

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