- added an internal io_error flag. Whenever an io error occurs (such