Using ServiceClient implementation from bpms-common, closing input/output streams