Optimize for local process lookups and include better detachment for long running jobs.