I'm sure you're aware that the session can be stored in files, not necessarily in db. If you do want to store it in db, then you will need the database handle anyway, I'd say create the handle in setup(), store it, then directly use it in the session and in any run-modes, just close it in teardown.