Eng 5588 Clean up random unused thread and fix issue with leader appointer failover startup checks being applied at runtime