ping 7 times and take average