Bug in Ping test

When address is incorrect it hangs instead of gracefully fails.