fix to reset repl hoping to avoid outOfMemory