Open/close capabilities added to duopipe.
ChildProcess now uses duopipe's close functionality.