close #8

The timer output compare was getting stuck at a value that was lower
than the amount of time that the overflow timer takes to execute. This
was solved by forcing the timer regester to 0 at the end of the overflow
timer.