Fix for https://github.com/alongubkin/timer/issues/19