Update quiet_ping to prevent divide by 0.