private boolean checkThread(final boolean set) {
        Thread t = Thread.currentThread();
        boolean okay = _thread == null || _thread == t;
        if (okay) {
            _thread = set ? t : null;
        }
        return okay;
    }