Fixed a bug with cleaning up state after a network is disbanded

In an attempt to reproduce #245, I noticed that the guest was not being cleaned up properly.  This should fix that.