Set up threading for networking on client