xapi: use the CLI to request a clean shutdown before killing with a signal.