Connection Reset while making an API call via connector

Hi everyone,
I am facing an issue in my BPMN where I am making an API to some other service (Spring boot service) via connector in camunda, sometimes there are connection reset exceptions in the camunda engine even though the API is taking around 8-10 ms to return the response

Does anyone why issue comes or has a fix for it ?
Would really appreciate any kind of help or suggestions

Thanks