Fix second and later outputs possibly not cleaned up in some situations of command failure
Fix second and later outputs possibly not cleaned up in some situations of command failure

sb43/bpipe,vivovip/bpipe,tucano/bpipe,tucano/bpipe,vivovip/bpipe,tucano/bpipe,sb43/bpipe,vivovip/bpipe,sb43/bpipe