Fix for Node pipes panic unpiping on error