KER-253: Allow to disable multi-threading once the startup is complete + some bug fixes