Allow killing running endpoints in REPL.
Added exit REPL command.