There's no close or destroy method offered of this library. It has a potential bug If we create as many instances as we can. Many tcp links would be produced in the server such as more than ten thousands until block the server's ability to create more.What's more, the tcp links won't release unless we reboot the server or republish the application.
If this library doesn't have a mechanism to release the links automatically, it needs to offered a method to close them all at least.