Persistent hot tub foam comes from residue in the water and pipes. Control it now, clean the water, then flush the plumbing before your refill.