Network - Client still in Network.Connections after disconnect

Hello,

When my clients disconnect (using Network.Disconnet()), my server gets this callback:

    void OnPlayerDisconnected(NetworkPlayer player)
	{
		Network.RemoveRPCs(player);
        PlayerStats.Remove(player);
		LoopConnections();
	} 

In my LoopConnections(), I loop over all connections

    string Score = "";
	
	foreach (NetworkPlayer player in Network.connections)
	{
		Score += PlayerStats[player].Name + " " + PlayerStats[player].Points + System.Environment.NewLine;
	}

(Playerstats is a dictionary)

For some reason the player that just disconnected is still in the Network.connections array, which gives me a Dictionary-access error (since I removed the entry before loopconnections()). Why is the NetworkPlayer still present?

You may want to try this http://unity3d.com/support/documentation/ScriptReference/Network.DestroyPlayerObjects.html

Try Network.CloseConnection(player)