Clean up dead code in Table
Add terminated and background pipelines