repl: fix duplicate interpreter instances