Hi Jos
Which version of Servoy do you use ?
While there is no API strictly for batch processors, we have, since 8.2, the client manager plugin. You can list all connected clients and kill them.
We had a webinar for the 8.2 release dedicated to this plugin.
Headless clients can be (re)started from the headless client plugin. Let us know if you need more details. Good luck!