our OCS server disconnect after send Prolog

The state is not tested during connection.
Our OCS server disconnect after send prolog xml file.
As a result Inventory xml file is not send.
To send inventory file i add new connection (httpObject2).