Issue with JMS queue

I am using JMS queue with sendAndWait and waitForReply services. Functionality is working fine, but sometimes I am getting error “[ISS.0134.9035] Unable to receive reply message: javax.jms.IllegalStateException: [BRM.10.1205] JMS: Session is closed.”

I googled the error, it shows broker might be down or session might have been closed. But I didn’t found any message regarding broker issue on IS. Even same functionality is working after this one failure.

If the session is closed, how can I know the reason for the same? How can I solve this issue?