Improve the StreamDispatcher: add chunk between each data chunk to determine the end or not of the data.