the iptables restore function, if it considers that the --wait flag is not supported, creates a lock file to mimic the iptables behaviour. The test should take this into account and remove the file.