code: def stop(self):
          
  
          msg = ''
          if self._process:
              _stop_process(self._process, 'Server process')
          else:
              msg += 'Server not started.\n'
          if msg:
              print(msg, end='')
docs: Stop server process.