Reset initing if boot fails with threading off.

Fixes #5580.