node: fix race in access to lastSavedState by locking Remove
node: fix race in access to lastSavedState by locking Remove

Signed-off-by: Alexander Morozov <2043cda4df124b840b98ee1c4307c199042efdf7@gmail.com>

elifa/swarmkit,allencloud/swarmkit,alyyousuf7/swarmkit,fate-grand-order/swarmkit,yongtang/swarmkit,docker/swarmkit,jlhawn/swarmkit,vasil-yordanov/swarmkit,cezarsa/swarmkit,yongtang/swarmkit,Noyan759/swarmkit,AliyunContainerService/swarmkit,cheyang/swarmkit,docker/swarmkit,vasil-yordanov/swarmkit,dperny/swarmkit-1,AliyunContainerService/swarmkit,elifa/swarmkit,deljuven/swarmkit,diogomonica/swarmkit,fate-grand-order/swarmkit,aaronlehmann/swarmkit,allencloud/swarmkit,cheyang/swarmkit,jlhawn/swarmkit,cezarsa/swarmkit,alyyousuf7/swarmkit,RenaudWasTaken/swarmkit,aaronlehmann/swarmkit,sungwonh/swarmkit,diogomonica/swarmkit,deljuven/swarmkit,dperny/swarmkit-1,sungwonh/swarmkit,Noyan759/swarmkit,RenaudWasTaken/swarmkit