Finished getting auto shutdown of network when all upstream or downstream ports are closed.