This diff restarts session when any Olm error is thrown by throwing an exception with OLM_ERROR flag set if error occured when decrypting the message.
If flag is included in the exception then the session is reset.
https://linear.app/comm/issue/ENG-9729/session-not-reset-after-getting-bad-message-mac