Flame will not stay on

I have a LG Gas Dryer that will not heat. The ignitor will come on and the flame will blow but it only stays on for less than a minute. I hear a click and the ignitor goes out and so does the flame. So far I have replaced the gas valve assembly and the flame sensor. Any Ideas what I should try next?