Hi,
Just an update on the issue. It ended up being the my USB WIFI dongle causing the problem. I was using a fancy TPLINK model that also had the function to be used as a hotspot. I replaced this with a "normal" WIFI dongle, and it now stays connected
Cheers.