sim: exit if read EOF