EOF on exit
Merge pull request #12 from iRyusa/fix-eof-error

EOF on exit.