fix(repl): do not fail at closing an unstarted repl
1.1.1