Hold shim lock during state
Hold shim lock during state

Helps with #1935

This hold the shim lock during the state call to make sure that the task
does not get deleted during a state call.

Signed-off-by: Michael Crosby <951f4c7b5d47e32d0112c78d14a98eaa23e6b5ef@gmail.com>

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