dotnet4: fix the hang on run