added IO::wait exception