Added try-catch to naming an unknown enclosed pipe.