Replacing sessions with different structs representing a closed session doesn't work if a session is using multiple connection IDs.