check-ping.rb: Try ping multiple times
check-ping.rb: Use Integer#times instead
Merge pull request #731 from maoe/check-ping-multiple-times

check-ping.rb: Try ping multiple times