ofxTcpClient to reconnect the problem

hi, I encountered a problem when the tcp client reconnects the server.
When the server starts, the client starts, the program is running normally.
When the server is shut down and then reopened, the client enters the reconnected state,After the reconnection was successful, I found that the number of frames on the client dropped below 10,And the client program seems to stop in the receive function here.
Forgive my grammatical mistakes, I use the OF0.9.8 version, the program is examples / addons / networkTcpClientExample and examples / addons / networkTcpServerExample