exit shell on EOF