http.POST() api hung after few calls in ESP32 & ESP8266 based controllers ...

Hi,

The http.POST() api hung permanently inside after some call. I searched for solution but unable to get. Could someone help to address this issue.