Http-connector disconnects when idle

Hello everyone.
In my process, I want to send requests to the API and use the http-connector. At this stage, I do without external tasks, only the Camunda modeler and the Camunda engine. Camunda works in a docker container (Windows operating system). I start the process with the message start event, use Insomnia client for it. For development, I raised the API at local host and send requests to it. I deploy the process, launch the instance and send request to the API endpoint. The first time everything works as expected: the API accepts the request, the Camunda processes the response, but if the interval between requests of the http-connector to the API reaches more than 10 minutes, then the new process instance will no longer start. Insomnia gives an error:
{
“type”: “ConnectorRequestException”,
“message”: “HTCL-02007 Unable to execute HTTP request”
}

Log in the docker writes:
connectjar.org.apache.http.conn.HttpHostConnectException: Connect to host.docker.internal:9090 [host.docker.internal/192.168.65.2] failed: Operation timed out (Connection timed out).

The problem is solved only by restarting the docker desktop.

I have noticed that if a parallel process “pings” my API at intervals of a few minutes (not allowing 10 minutes of idle time), the connection will not be lost and there will be no error.

Plus, in one tutorial I saw usage the http-connector to request api.openweathermap.org, I repeated this example and it works without error, regardless of the break between requests.
test local api.bpmn (4.5 KB)

I will be grateful for help.

I noticed that when the session (Camunda cockpit) is expired and a login is required, the request to the API goes through again.