pingd: fix when network is unreachable