Top-level entry point for running a pipeline. Starts a Pipeline.Task, waits for completion, and handles graceful shutdown.