Delays profiler initialization (Fixes #848)
Merge pull request #854 from yurydelendik/issue-848

Delays profiler initialization