Sounds like a NAT issue on the router, many NAT implementations expire UDP mappings after 1 hour.
You could try @jpmeijers Gateway Connector implementation which uses TCP instead of UDP and so should be more stable: https://github.com/jpmeijers/ttn-resin-gateway-rpi