NetworkManager.OnServerStopped is called after NetworkManager.CustomMessagingManager is null. This means that you cant cleanup (unsubscribe) events properly. This is not strictly needed because it will be set to null anyways, but it is better for consistency.
From what I can see the backend cant really call NetworkManager.OnServerStopped before null, so maybe there should be another event for managing events?