save and load with threaded environment