`serverId` is a global variable here.