some more close operations for tests under windows