return U.wrapThreadLoader(dep.classLoader(), new CO<GridComputeJobResultPolicy>() {
@Nullable @Override public GridComputeJobResultPolicy apply() {
try {
// Obtain job result policy.
GridComputeJobResultPolicy plc = null;
try {
plc = task.result(jobRes, results);
if (plc == FAILOVER && noFailover) {