cli/src/klio_cli/commands/job/stop.py [74:110]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            .locations()
            .jobs()
            .update(
                jobId=job["id"],
                projectId=job["projectId"],
                location=job["location"],
                body=job,
            )
        )

        try:
            request.execute()

        except Exception as e:
            # generic catch if 4xx error - probably shouldn't retry
            if getattr(e, "resp", None):
                if e.resp.status < 500:
                    msg = "Failed to {} job '{}': {}".format(
                        req_state, job["name"], e
                    )
                    logging.error(msg)
                    raise SystemExit(1)

            if retries > 2:
                msg = "Max retries reached: could not {} job '{}': {}".format(
                    req_state, job["name"], e
                )
                logging.error(msg)
                raise SystemExit(1)

            logging.info(
                "Failed to {} job '{}'. Trying again after 30s...".format(
                    req_state, job["name"]
                )
            )
            retries += 1
            time.sleep(30)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



exec/src/klio_exec/commands/stop.py [85:121]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        .locations()
        .jobs()
        .update(
            jobId=job["id"],
            projectId=job["projectId"],
            location=job["location"],
            body=job,
        )
    )

    try:
        request.execute()

    except Exception as e:
        # generic catch if 4xx error - probably shouldn't retry
        if getattr(e, "resp", None):
            if e.resp.status < 500:
                msg = "Failed to {} job '{}': {}".format(
                    req_state, job["name"], e
                )
                logging.error(msg)
                raise SystemExit(1)

        if retries > 2:
            msg = "Max retries reached: could not {} job '{}': {}".format(
                req_state, job["name"], e
            )
            logging.error(msg)
            raise SystemExit(1)

        logging.info(
            "Failed to {} job '{}'. Trying again after 30s...".format(
                req_state, job["name"]
            )
        )
        retries += 1
        time.sleep(30)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



