Setting pipe-failure on pipe failures