Major issue! Thread that was canceled due to CancelLeadershipException was getting re-used and thus exiting immediately. Instead, a new thread from the pool should be used