Added ping command to estimate round trip time