Fixed AutoAsyncTests on Windows.