Java Multi Source/Destination stream close

Code net yet tested