@Override
            public void close(String id) {
                super.close(id);
                throw new RuntimeException();
            }
Tests that a connect and disconnect in a single poll invocation results in the channel id being
in `disconnected`, but not `connected`.
clients/src/test/java/org/apache/kafka/common/network/SelectorTest.java