Avoid deadlock during application initialization phase.