vrrp: fix thread synchronization issue