You can use the App Server to spawn processes, and kill them when needed.
The App Server provides two commands to do this: Spawn Application, and Kill Application.
Go into the web admin, advanced > configuration > devices, select the App Server on the target machine (for example, the CORE/Hybrid), and select Send Command.
You'll see how to use MessageSend to trigger these things from outside the system. But really, you'll want to find a less duct taped way to do things.
-Thom