support timeout_sec option in get_client