Every hot glue gun I've ever used has done that. They aren't meant for continuous use. They don't actually have a thermostat. Rather, they draw a set amount of current and depend on the glue and room temp to keep them from overheating. Adding some extra thermal mass to the tip would help, but I doubt you'll get the kind of performance you want from a hobby grade glue gun.