Executes a job.
The command is internal, and used to isolate a job execution. Manual usage is not provided.

@param string|null $id of a message
@param int $ttr time to reserve
@param int $attempt number
@param int $pid of a worker
@return int exit code
@internal It is used with isolate mode.