Misc: add sanity check on transaction begin to check if Hibernate session isn't already closed.