[session] refactor session handling so that when calling session.close(), pool of long running transaction of the same session is properly freed
# copyright %(year)s %(author)s, all rights reserved.# contact %(author-web-site)s -- mailto:%(author-email)s#%(long-license)s"""%(distname)s specific hooks and operations"""