public long runScheduledPendingTasks() {
        try {
            return loop.runScheduledTasks();
        } catch (Exception e) {
            recordException(e);
            return loop.nextScheduledTask();
        }
    }
Run all pending scheduled tasks in the {@link EventLoop} for this {@link Channel} and return the
{@code nanoseconds} when the next scheduled task is ready to run. If no other task was scheduled it will return
{@code -1}.
plc4j/transports/test/src/main/java/io/netty/channel/embedded/Plc4xEmbeddedChannel.java