Optimize SendPingMessage (#1896)
Optimize SendPingMessage (#1896)

* Optimize SendPing

* Optimize

* Update src/neo/Network/P2P/TaskManager.cs

Co-authored-by: Shargon <27a1effff19d0c1fff0ef6bfddcb4f3b3fe8334a@gmail.com>

Co-authored-by: erikzhang <c195b508e6f0c57aeafdb5e96947e2b79e6a4b40@neo.org>
AntShares/AntShares