Prevent double OnDisconnected calls.