Scott, out of curiosity.. do you know what started the active transaction that is in effect while the SessionFactory is being closed?