changed StoppablePipeline from decorator to inheritor