raft: listener wrapper fix, timeout on node Join, add missing sleep before checkValues
raft: listener wrapper fix, timeout on node Join, add missing sleep before checkValues

Signed-off-by: Alexandre Beslic <7f00c88b7660208d6ae438e5aa377b1c70b9009e@gmail.com>

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