Implement "stop" RPC call