This works for ThreadedUpdate jobs, but it doesn't seem to always work for jobs run with JobUtils.EnqueueJob.