I found a solution that worked for me. It’s weird how this is even an issue. I had weird characters in the name of my pc. All I had to do is change it to a simple name with no spaces and the problem stoped happening. Must have something to do with the swarm client writing to the pc.