Running macro through NSclient

Hello,

I tried to run macro in Firefox through NSclient (running as service). But there is a lot of unstability.

The macro is configured to close firefox at the end.

I got a lot of firefox zombie process (no parent) , sometimes ui.vision do not event start the macro.

What’s the keys to get something stable ?