In order to be thread-safe, we should get rid of the global loadparm_context variable global_loadparm.
Global loadparm is removed in git.