Handle pipe failures