Too good to be true. After five days, it lost the connection again, and as usual it couldn't automatically reconnect. I looked at my script output, and I noticed that when there's no 4G connection, it doesn't run the cron job every five minutes. So somehow it's reversed - it's the baseband chip that keeps the phone awake. I'll try with just 3G - maybe that'll work.
Regards
Grisen