After opening up the backside of the dryer I first checked the various parts using a multimeter and everything seemed to be in order. With the back open I switched on the dryer. I could see the gas lighting up and shut down after 30 sec. After a min or two the gas lit up again but only stayed on for 10 sec. At this time I now assumed it was a coil or ignitor area issue. I took out the drum and front part. I took out the coil and tested the resistance but it was showing as working. Since that gas was lightning I eliminated that it was a lighter issue. I ordered the Gas Valve Coil Kitl since by virtue of elimination it seemed to be the issue that would cause the gas to open and shut off in an inconsistent manner. I replaced the coils and switched on the dryer without the drum or backside on. I saw the flame was consistent now. Assembled everything back and also took the opportunity to vacuum and clean any lint that had collected inside over the past 20 years.