Kenmore gas dryer stops heating

Dryer starts out working fine, but after a couple of minutes it stops heating. Cleaned vents and checked outside and there is good airflow.