So after the message is sent two times, the buffer is full and no more messages can be sent - at least that is my guess.
Perhaps if you told us what the messages are going to, you wouldn't have to guess.
If your guess is correct, then it implies that the other device is failing to remove the message from the queue. So, you need to have a stern talking to with it.