Added sleep to prevent cleaning iptables rules before they are created
Fixed check for premature exit of systests