With potassium nitrate and sugar, you should always use a double boiler...
I’m here to tell you that a propane torch on the side of the tin can is poor practice.