lrpc.session.timeout

This configuration parameter specifies the maximum number of seconds to keep the adclient connection open to respond to context‑dependent requests, such as pwgetent or lsgroup requests. Lowering this value reduces the chance of a multi-threaded program being affected by an adclient restart, but may cause slow context-dependent commands to fail to return results because the session times out before the command completes its operation. Increasing the value of this parameter reduces the overhead of re-establishing a connection for multiple requests.

For example:

ldap.session.timeout: 30