Implemented a local dispatcher which runs jobs in a local thread pool, for backgrounding without an external process.