It makes more sense to call this from afterConnectionEstablished as it relates to the creation of new sessions. See gh-32195