Added dummy Stream class
Added methods get_descriptor and stop to Stream to provide and close pipes for subprocess