IO Optimization to reduce number of selector.wakeup calls