'Mule HTTP POST Request Remotely Closed error

If backend system(REST API) is not closed the connection when they send the response payload as response then how can we close the connection intentionally from mule side(http request) ?

actually we found that backend system is not closing the connection so that mule is throwing 'Remotely Closed' error.

Could anyone suggest how to close the connection in Mule side(HTTP Request connector) after JUST receiving response from backend ?

And below is the HTTP configuration :

<http:request-config name="HTTP_Request_configuration" doc:name="HTTP Request configuration" doc:id="bed9482f-2a7c-4db5-91b5-6410fac08f8e" > 
   <http:request-connection host="test.com" port="81" /> </http:request-config> 

<http:request method="POST" doc:name="Request" doc:id="823ec599-3f8d-4ffa-ba03-72f33f0bc1b8" config-ref="HTTP_Request_configuration" path="/"> 
</http:request> 


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source