JOB API KEEPS SAYING THE JOB IS RUNNING

Anonymous
Not applicable

I have a library that waits until the job goes in the "TERMINATED" / "SKIPPED" state before continuing. It pools the JOB API.

Unfortunately, I'm experiencing cases where the job is terminated on the GUI but the API still keeps saying "RUNNING".

There is another option to wait until the job goes in not running the state?