ping is now averaged instead of taking 1 sample