YARN-2709. Made timeline client getDelegationToken API retry if ConnectException happens. Contributed by Li Lu.