Migration to new DQM thread safe framework