public static NetworkMultiplexer dedicated(Network net) {
        return new NetworkMultiplexer(net, false);
    }
@Test
    void testDedicated() {
        MockNetwork net = new MockNetwork();
        MockOwner owner = new MockOwner();
        NetworkMultiplexer dedicated = NetworkMultiplexer.dedicated(net);
        assertEquals(Set.of(dedicated), net.attached);
        assertEquals(Set.of(), net.registered);
        assertFalse(net.shutDown.get());

        dedicated.attach(owner);
        dedicated.detach(owner);
        assertTrue(net.shutDown.get());
    }