CHRON-13 Check that resources are cleanup on windows