add 10 tries of pingging hosts.