Close ui.vision RPA before starting macro

I have the case that some now and then a macro hangs and does not continue. Also set timeouts do not have effect. The macro stays in mode running.
In this case when I start automatically another macro it cannot be started.
So my questions is, is there a possiblity to close ui.vision RPA before starting a macro? This would not solve the first macro which hangs but at least the follow up macros could run.
I am starting the macros via CLI.

Hi, if the IDE hangs during replay, then the calling script will trigger a timeout error. You can tell “kill” the browser and start fresh. Our sample code already includes this feature.

For example, in Powershell it looks like this: Terminate Chrome after RPA timeout error