critical:IO.select invokes to_io on supplied objects that are not IO
