is it heating? and when you says “stops” do you mean with alarm sounding? If its not heating it may well stop after a minute or so but AFAIK the alarm sounds. Poss heater relay board if so. There is a “warm air” dry setting which should by pass all the dryng senors and run for 20 minutes (or how ever long it says on the dial.)
I can hear the relay click and sends power to the element, and it stops then with the beeping alarm it only takes 10 to 15 seconds for this to happen , I see a sensor similar to an oven temp sensor beside the overheat stat on the element housing 2 wires coming off it going back to the timer anyway of finding what id anything is wrong with that