Workaround for issues #7 and #8. Single-shot timers cause OSX backend to segfault.