Capped pipe