[mce] Force-stop thread when finalizing engine. Fixes JB#17088
Merge pull request #40 from nemomobile-packages/mce-thread-wait

[mce] Force-stop thread when finalizing engine. Fixes JB#17088