Fix return time for decodePacket