The statsReply segment was getting cut because the range of signed shorts is till 32767, and we had assigned each segment of the statsReply to 61600 Bytes. Changed the setting and getting of length of the StatsReply from signed short to unsigned short and the range of each segment of StatsReply to 30800.