Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/y/pystack-1.0.0/pystack/pystack.py   pystack(Download)
                if callable(getattr(conn,"close")):
                    print("call close for: ", conn.connectionID)
                    conn.close()
        time.sleep(5)  #To be sure all connections stops well..
        self.eth.stop()
    time.sleep(10)
 
    conn.close()
 
    stack.stop()