[web] fix AbstractSessionManager.clean_sessions (closes #5757240)
sessions were not closed if "last_usage_time = session.cnx.check()" actually
raises an AtributeError.
===================
Changelog history
===================
.. include:: 3.21.rst
.. include:: 3.20.rst
.. include:: 3.19.rst
.. include:: 3.18.rst
.. include:: 3.17.rst
.. include:: 3.16.rst
.. include:: 3.15.rst
.. include:: 3.14.rst