use IO#wait instead of IO.select for single readers