Switch wait for network to ping gateway instead