Removed obsolete packets, more accurate ping measurement