Early initialization of worker

Fixes #51