So I’m attempting to use a number of Spark Cores (and hopefully down the road Photons) to control G35 Christmas lights but I’m running into a stability problem that is killing the dream 
Here’s the code for my TCPServer: https://zaf.ca/tcpserver.txt – usually within about 4 to 15 minutes, the spark core becomes unresponsive and eventually it (usually) reboots. I’ve run various variations of the software to rule out issues including comment out the call to process_message() so that just the code in loop() is running.
I’ve ruled out the library being the issue also by running https://zaf.ca/test.txt for several hours to several days.
Does anyone have an insight?
Thanks.