Extract SelectorLoop from SocketChannelReaderThread