ctr: Return error if task.Metrics fails
ctr: Return error if task.Metrics fails

Signed-off-by: Li Yuxuan <2e5c14b5ad9ff06e0374b6360d5a43be80d19be5@baidu.com>

vdemeester/containerd,mikebrow/containerd,vdemeester/containerd,mikebrow/containerd,dmcgowan/containerd,thaJeztah/containerd,estesp/containerd,containerd/containerd,dmcgowan/containerd,thaJeztah/containerd,estesp/containerd,containerd/containerd