Clean up pipeline flow.