fix race condition
fix race condition

mtlynch/Sia,kustomzone/Sia,cyrozap/Sia,rivine/rivine,rivine/rivine,MrStrong/Sia,ChrisSchinnerl/Sia,NebulousLabs/Sia,mtlynch/Sia,mnsl/Sia,mharkus/Sia,mnsl/Sia,ericflo/Sia,ericflo/Sia,johnathanhowell/Sia,Mingling94/Sia,NebulousLabs/Sia,ChrisSchinnerl/Sia,MrStrong/Sia,mharkus/Sia