using linked list queue to store the ack msgid