net: add wait to iptables command to fix race
net: add wait to iptables command to fix race

when run several tests simultaneousely it seem that some iptables
commands can intersect and if we do not wait xtables lock criu fails:

(00.009263)     Running iptables [iptables -t filter -A INPUT --protocol tcp --source 127.0.0.1 --sport 55074 --destination 127.0.0.1 --dport 8880 -j DROP]
Another app is currently holding the xtables lock. Perhaps you want to use the -w option?
(00.014367) Error (util.c:660): exited, status=4
(00.014416) Error (netfilter.c:88): Iptables configuration failed: Success
(00.014432) ----------------------------------------
(00.014461) Error (cr-dump.c:1297): Dump files (pid: 24) failed with -1

https://ci.openvz.org/job/CRIU/job/CRIU-virtuozzo/branch/criu-dev/3/

Signed-off-by: Pavel Tikhomirov <3e8c75167f9f00ca74287a4609f1507a2696e07e@virtuozzo.com>
Acked-by: Andrew Vagin <74c05afa918858348d6db8037d82fa8124870113@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@virtuozzo.com>

efiop/criu,KKoukiou/criu-remote,efiop/criu,efiop/criu,eabatalov/criu,KKoukiou/criu-remote,efiop/criu,efiop/criu,KKoukiou/criu-remote,eabatalov/criu,KKoukiou/criu-remote,KKoukiou/criu-remote,eabatalov/criu,eabatalov/criu,efiop/criu,eabatalov/criu,KKoukiou/criu-remote,eabatalov/criu