Do not try to ping the host when there's no connection