fix repl
on unclosed string, list throw error instead of silently closing on eof