Stop infinite loop in ConnectToken url building.