Ensure that the socket processing is resumed if when no data is expected, so that the on Close event can be triggered to complete the callback
Ensure that the socket processing is resumed if when no data is expected, so that the on Close event can be triggered to complete the callback

This was successding in Node 8 and lower, but failed in Node 10 which is why this was explcitly added in

OHM-704

jembi/openhim-core-js,jembi/openhim-core-js