Whirlpool dryer not turning off

My whirlpool timer was not working, because it would not move from the original position or shut The dryer off. I replaced the timer, but after getting to the cool down position, it still will not shut off. What else might be causing the dryer not to turn off?