Когда я использую методы Nethereum (GetBlockWithTransactionsByNumber, GetBlockWithTransactionsByNumber и т. Д.) В цикле, в стеке TCP накапливается много CLOSE_WAIT.Как я могу решить эту проблему?
Пример моего кода:
Web3 etheriumService = new Web3(config.Address);
var lastBlockHashById = await EtheriumService.Eth.Blocks.GetBlockWithTransactionsByNumber.SendRequestAsync(new BlockParameter(ulong.Parse(savedBlockId)));
var dbBlock = await this.EtheriumService.Eth.Blocks.GetBlockWithTransactionsByNumber.SendRequestAsync(new BlockParameter(0));
//and etc
Вот экран: ![enter image description here](https://i.stack.imgur.com/GMiAG.jpg)