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