wireguard: add barrier to sync data