Configurable timeout for client