support to reduce number of threads in locksteptaskscheduler