YARN-2673. Made timeline client put APIs retry if ConnectException happens. Contributed by Li Lu.