Once the solenoid resets the timer selector switch and the bell chimes then the cool down thermostat is what shuts the dryer off. If the solenoid is not activating then there is probably an issue with the moisture sensor circuit, for example the drum baffle sensors, wiring from the baffles to the carbon brush, the carbon brush that rides on the slip ring, the electronic control.