我发现了问题,它出现在我的c#代码中 调用代码的函数在等待,
Main() { TestConnection().wait(); // this is not proper } so I changed it to TestConnection(); and it works