Reactor: Fix the memory leaks in ReadData method