made reloaddata thread safe