Working on cleaning up resources created by a pipeline