code: def _stop_remote_console(self):
          
          if self._telnet_server:
              self._telnet_server.close()
              yield from self._telnet_server.wait_closed()
              self._remote_pipe.close()
              self._telnet_server = None
docs: Stops remote console support for this VM.