Move the leader delay timeout logic into the leader selector.