dyrer heats about 5 mins then no heat

i have a whirlpool gas dryer that heats at first then no heat after about 5 min i have replaced the flame sensor and did not fix problem whatelse should i look at