Manages a hibernate session with ThreadLocal