How to Stop a Pipeline