copy taskMetrics only when isLocal is true