Make the sliding sync `PerConnectionState` class immutable.