bring down the risk of race conditions in multi-threaded loading processes