Close data pipe when WinPty.close() invoked

Otherwise closing stream after process is destroyed causes "Close error:6" which is "invalid handle" error.
Think this should be fixed to have ability to still work (and close at the end) with the process streams after process is destroyed.