dispose sessionfactory in windows service