search-api: adding timeout parameter when downloading rest resources.