public final boolean tryClose(long currentTimeNanos) {
            if (endTimeNanos <= currentTimeNanos)
                closeNow();
            return closed;
        }
Try to close this channel if the delay has expired.
@param currentTimeNanos The current time
@return True if the delay has expired and the channel was closed; false otherwise
clients/src/main/java/org/apache/kafka/common/network/Selector.java