Failed to flush messages in case of messages with "delivery receipt"

Signed-off-by: Eyal Salomon <esalomon@mellanox.com>