Fixed child exit early for pipe bug