get th channel to flush the writer
when the former is asked to terminate by the reader
Backed out changeset 0ca8cbef9720
accidentally committed on 'stable' instead of bug25360 branch
get the channel to flush the writer
when the former is asked to terminate by the reader
Merge bug 25360
stable to default