Currently, the runner API only returns the job state (running/failed/terminating/terminated/done). It should also be possible to return the task termination reason / message similar to the shim API. This is needed, for example, for the sever to know when the run was stopped due to max duration (#2163) and possibly to differentiate between different failed reasons.