Fixes pipes and qdel

They dont disappear after multiple clicks anymore
They now show success message only once
Fix #5795
Merge pull request #5910 from Razharas/PipeFix

Fixes qdel kidnapping pipes