update http client and add retry policy