Multiple instances of Unity Authentication Service

I seem to be running into an issue where there are multiple instances of the Unity Authentication Service running if I sign in anonymously, sign out, then sign in again. At least, that’s what I think the issue is, since AuthenticationService.Instance.SignedIn gets called twice. Is there a proper flow for exiting the service? Here are my reproduction steps:

  1. await UnityServices.InitializeAsync();
  2. await AuthenticationService.Instance.SignInAnonymouslyAsync();
  3. Result is single success message
  4. AuthenticationService.Instance.SignOut(true);
  5. await AuthenticationService.Instance.SignInAnonymouslyAsync();
  6. Result is two success messages

Sorted it out; was resubscribing to the event each time.