By the time the Siamese reached Chiang Mai , however , the Manchus had given up their invasion of Burma while Lan Na had renewed its relationship with the Toungoo and tried to distance itself from the Siamese .