Do not use raw pointers in the client NetworkManager.