interact() missing coverage for (OSError, EIO), reading after child exit

I was able to duplicate the OSError while using stdin and vim:
 pexpect.spawn('vim')
 pexpect.interact()

added the breaks since there shouldn't be a local data that's valid after the exception

----

jquast: this bug was for pexpect2.4 and does not occur with 3.0.
However, some related tests should be implemented (and possibly, fixes).