Do player connections get disconnected when player leaves?

Thanks for your quick replies @Dolphin_Worm, @WaterJamesPlough and @SilentsReplacement.
I also thought connections on a player would be destroyed when they left, but I found some topics that say the contrary. They are kind of old but I think still relevant?

Also I want it so that only the players in-game at that moment get a connection. So using PlayerAdded isn’t the right solution here.