logic error: ping -o will hang if the remote machine is down