adding support for exit to exit repl closes #8