Bugfix/worker loop

Fix case where an explicit nil passed when instantiating a worker (the default case) results in a broken timer type.

This is a regression introduced in #17.