An attempt of thread-safe RooMinimizer removing the static, but doesn't work