LilyGO devices stop responding after a few hours

I have the same problem.

The gateway always stops responding after an uptime of 130 000-140 000 seconds.