Getting booted due to inactively immediately

After playing, leaving an open window, playing and minimizing and expanding it for perhaps two days, I got a glitch where upon joining a custom game I was getting booted immediately due to inactivity. Leaving and rejoining didn’t make the error go away and neither did restarting the game. Only after rebooting my iMac did the glitch go away.