Improve default options
Send eof to have the same behavior as other repl.