timer recording inaccurate

I set the timer just fine but the recording goes on past the 1 hour setting I program. Why won’t it shut down? (Goes about 2 hrs)