Add `exit` command to exit cleanly