I too had problems with stability when using TCPServer on an connection with intermittent WiFi or WAN.
At the very end of the thread there’s discussion of disabling SYSTEM_FLAG_RESET_NETWORK_ON_CLOUD_ERRORS and that seems to be the ticket for me (with my app running on 0.7.0).