Fix Session Leak in Query Plan Cache (NH 3579)

Details at https://nhibernate.jira.com/browse/NH-3579