Updated to how Network is disposed to fix ohNet memory leaks.