no heat

I have a gas dryer that started to heat sporatically. Somtimes it will heat and somtimes it will not. The ignitor is lighting but the gas valve will not always open. It seems to be the thermodisk, could there be somthing else that causes this to happen? Thanks! Kurt