Fix when ListScripts and Run call process

To ensure that even failure states get fully processed so the connection
actually closes.
Implement Kill

Although not yet tested