Wax is suggested by some sources as a “flux” to help clear the slag (oxides and other impurities). It was only the wax which was burning. It was easy to extinguish by covering the pan. BTW, I was wearing two pairs of leather gloves and multiple layers of non-plastic clothing.