Power state: on=>offline

It was running for an hour, then it goes offline. It is sending data so the watchdog problem is not this one. Assuming the problem is not in the code? I have a weak Wifi connection. Why would it go offline after only an hour? It is still blinking green, while it stays offline. Does that make sense to anyone?

Maybe it went red or no light while I wasn’t looking, then back to green. Shouldn’t the status in the log IDE update to online when it comes back to green?