lg$set_threshold(old_threshold) setDTthreads(old_dt_threads)