Close the sink streams once the process finishes.

For #11.