Keycloak - need to set timeout for http client used by keycloak libary

I am using keycloak-adapter-core in version 9.0.2 and need to set up timeout for http client connection between application and keycloak server. Unfortunately I do not see this option in library https://www.keycloak.org/docs/latest/securing_apps/#_java_adapter_config e.g. “connection-pool-size”.

I recheck also code library and I do not see that timeout is set up.

Do you know any workaround for this ?