Pipeline cleanup