DQMOffline/EGamma Implement updates for multithreading in offline clients