Called endReadAndFlush multiple times by mistake