The screenshot you put seems to be from the SimpleRequestFactory constructor. That is the default timeout for the httpClient, but there is also a timeout per request, which can be set(see line 314: request.idleTimeout(timeoutSeconds > 30 ? 30 : timeoutSeconds-1, TimeUnit.SECONDS);).
How are you using the rest client? You should be able to do something like this to change the timeout: