Make windows running as tests more reliable.