Imporved delete of pipelines