Stop to readline on EOF.