The client connection is always disconnected

Hi Team,
We are running on openfire version 4.3.2 and smack version 4.3.3.

Debugging in the LAN environment, The client always drops after 3, 6, or 9 minutes. How do I get the server’s ping and respond to the pong? I only see the ping request from the client to the server through the debug window, but not the ping request from the server to the client. What should I do?

The client can be reconnected through pingFailedListener,But it’s never good to lose your connection too often。