Stop listening for output from the stenotype machine.

def stop_capture(self):
        """Stop listening for output from the stenotype machine."""
        super(Treal, self).stop_capture()
        if self._machine:
            self._machine.close()
        self._stopped()