private Trace closeUnsampledTrace(Trace trace) {
        if (trace == null) {
            return null;
        }
        // work around : unsampled trace must be closed.
        if (!trace.canSampled()) {
            if (!trace.isClosed()) {
                if (logger.isDebugEnabled()) {
                    logger.debug("closeUnsampledTrace");
                }
                trace.close();
            }
        }
        return trace;
    }
Return trace without sampling check.

@return
agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DefaultTraceContext.java