Mark network background threads as daemons to prevent them from keeping
the VM running after the game's main thread has exited.