Instance objects keep a smart pointer to Network. clean valgrind run