Adjust ChannelGroup to behave the same like a Channel in terms of write and flush