Dryer cutting off after 10 minutes

Hi,

My dryer is about 6 years old. It will run for about 10 minutes then cut off. After it sits about 20 min it cuts back on by itself. It blows hot air without problem. The lines were free of lint when i checked them. Any ideas?

Thanks