launch: fix error when pipe is broken