Spark gets automatically disconnected

The new version of spark (2.7.3 Build 715) gets automatically logged out after few minutes if not used. Attaching error logs. Kindly give a solution.
Spark 2.7.3 Build 715 Error.txt.zip (1189 Bytes)

These logs are almost month old. Was it working ok with the older version and started doing this with 2.7.3. Or you started using Spark from version 2.7.3 and experience this issue? I haven’t seen such issue myself. Maybe you should try changing Idle client setting (if you use Openfire). See if changing this settings changes anything for you.