add ack while consume the message in the queue