By reading the forums I first thought it may be the thermostat. I bypassed the thermostat wiring and the dryer still turned off after a few second of running. The second check was for the door switch. I couldn't find an explanation of how to bypass, so I just ordered a new one to try. It worked.