Close HTTP request when using ArduinoHttpClient library

the ArduinoHttpClient has no way to set a write timeout.
you can do the POST request without the library