UiPath robot not stopping

You could try this

And/or upgrading if feasible.

Other than that, I don’t know of a full proof solution.

Probably collecting traces and contacting support wouldnt be a bad idea either.