fixed C3P0 connection pool issue by ensuring all Hibernate sessions are being closed