t wasn't needed filewide, also handle eof gracefully (by stopping the repl)