Implement stop command

Stops Invoker if it is running as a daemon.