code: def restart(self, timeout=300, config_callback=None):
          
          self.stop()
          if config_callback:
              self.cfg = config_callback(self.cfg.copy())
          self.config_path = process.write_config(self.cfg)
          return self.start(timeout)
docs: restart server: stop() and start()
          return status of start command