private void RemoveSocketReference() { socket = null; Networking.networkReset -= RemoveSocketReference; }