Setting rest_client timeout to 10 sec.