[Git][ghc/ghc][wip/andrea/async-rpc] close Handles when done with Pipe