I solved it using an ugly hack.
In TurnkeySupportModule.cpp at row 479 i added this following:
BuildCookRunParams += TEXT(" -dedicatedserver");
It seems to have fixed it tho i don’t know if this is will destroy something else or not. So far it seems to be working fine for me.