Fix `hasTimers` to release `autorun`

To check this change, I added missing test for `cancelTimers`.
Merge pull request #9 from tricknotes/fix-has-timers

Fix `hasTimers` to release `autorun`