(wait_reading_process_input): If a pty gives EIO,