v2: Cancel shim log ctx when ttrpc is closed
v2: Cancel shim log ctx when ttrpc is closed

The background context aovids shim blocking when the ctx is cancelled
unexpectedly during shim start. But if the shim exits unexpectedly
before opening the pipe, the fd will never be closed.
`onCloseWithShimLog` makes sure that the shim log fd is closed properly
once the shim disconnects.

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

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