dryer repair

On this gas dryer, the flame comes on but only for a minute or two. It then goes out and will not relite until i start it all over again. could it be the thermo couple? Thanks Bob Brown