Added destructor for Network
destructor fail upgrade :)