Bug fix: Next interval returned by timer event handler is ignored.