fixed lifetimeScope issues in the ProcessWorker;