Fix the pipe handle leak