Improve closing of resources on windows system.