disconnectClient NRE check, fixed missing System.Reflection reference