Openfire lost my message

Hi

my openfire server ping settings is 30 sec .I have two users for chat and first user send messages to second user , everything is correct. for example ,25 sec before the server ping for second user then i close the network connection.openfire thinks open session for second user. i send message but not received to second user.(lost my messages.)

after the server ping then it says session is closed .i send message by first user to second user then openfire send offline message and it is correct running.

Can you help me ?

There is no easy solution for that. Explanation: options to mitigate messages loss because of network problems