Users gets disconnected automatically

We are running openfire 3.9.3. on centos7.

The issue is that our users automatically disconnects and then reconnects every now and again.

I have changed the idle connection policy to do not disconnect clients that are idle and have restarted the openfire service, the problem however still perist.