Add "stop" command that exits cleanly.