code: def stop(self):
          
          self._done()
          if self._server:
              self._server.stop()
              self._server = None
          log.info('Stop!')
docs: Stop all tasks, and the local proxy server if it's running.