Given that
SessionLockLostException and MessageLockLostException are expected exceptions and the user is expected to handle those scenarios irrespective of whether there is a subscription update happening or not. The lock is in-memory and can be lost when nodes restart, or when containers move due to load-balancing or if there are any transient communication issues.
What is the recommended way of handling those exceptions given we do not want to loose the messages?