check end of packet by ping tag