Cancel job without throwing an error

When using Stop-PSUJob it throw the error “The pipeline has been stopped.” and then the job status is ‘error’. This is the same if you stop the job from the admin dashboard.

Can you cancel a job without throwing an error?

image

PSU version 4.3.4