private static Object poll(Queue<Object> queue) {
        return queue != null ? queue.poll() : null;
    }
Release all buffered outbound messages and return {@code true} if any were in the outbound buffer, {@code false}
otherwise.
plc4j/transports/test/src/main/java/io/netty/channel/embedded/Plc4xEmbeddedChannel.java