I had the same problem.
In my case, i had the problem because in my tcp server send function i forgot to call the tcp_recved function that check the TCP Window status and reset it when full.