External Task Client-set timeout when invoked FetchAndLock

Our application got stuck when invoked fetchAndLock Api.It’s due to some unkown os bug
and the request will been duplicate accept detected by workflow server side.See as the under link https://stackoverflow.com/questions/70937492/tomcat-ioexception-duplicate-accept-detected-this-is-a-known-os-bug-please-co
is it possible to set own httpClient in EngineClient?i want to configure the http request timeout to fix this issue.
Thanks a lot…