change default client to CurlClient