Delays profiler initialization

Fixes #848