As a follow up to Losing data connection after inactivity: I seem to have misinterpreted my problem, which really was that I did not get a data connection from the second sim card (from Vodafone Greece) next to my sim card from the Netherlands with data switched off on that sim. Interestingly the problem did not occur while in Greece, but only out of Greece while on roaming.
The solution: switch off VoLTE on the sim card not used for data. I do not know if this is valid for all dual sim phones. As a matter of fact I did not have this problem under /e/OS 3.6.
My phone is a Teracube 2e zirconia.