def METHOD_NAME(self, timeout: float = None) -> None:
    """
    Waits for RPyC server start, changes status to STARTED.
    :param timeout: timeout in seconds
    :raises: RuntimeError if server startup fails
    """
    sleeper = get_sleeper(
        interval=0.2,
        timeout=timeout,
        raise_timeout_with_msg=f"RPyC server start timeout, logfile = {self.std.err_path}",
    )
    while next(sleeper):
        done, extracts, _ = match_regexps_in_file(
            self.std.err_path,
            [re.compile(".*server started on .*:(?P<port>.*)")],
        )
        if done:
            self.rpyc_port = int(extracts["port"])
            self.logger.info(
                "Remote RPyc server started on %s:%s",
                self.cfg.remote_host,
                self.rpyc_port,
            )
            super(RemoteService, self).METHOD_NAME(timeout=timeout)
            return
        if self.proc and self.proc.poll() is not None:
            raise RuntimeError(
                f"{self} process exited: {self.proc.returncode} (logfile = {self.std.err_path})"
            )