**Describe the bug**
Clean session for v311 and session_expiry for v5 is not working.

**To Reproduce**
this is the python code to reproduce for v311.
[clean_session.txt](https://github.com/nanomq/nanomq/files/15244405/clean_session.txt)
Clean Session for v311 and session expiry for v5 is not working
This is a GitHub Issue
repo:nanomq
owner:emqx
Title : Clean Session for v311 and session expiry for v5 is not working
Issue date:

--- start body ---
**Describe the bug**
Clean session for v311 and session_expiry for v5 is not working.

**To Reproduce**
this is the python code to reproduce for v311.
[clean_session.txt](https://github.com/nanomq/nanomq/files/15244405/clean_session.txt)
--- end body ---
