This is needed to avoid an error when server doesn't close correctly, e.g.: curl: (56) OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0 Resolves: RHEL-39995