fix race condition in test
fix race condition in test

NebulousLabs/Sia,NebulousLabs/Sia,mtlynch/Sia,ChrisSchinnerl/Sia,ericflo/Sia,ChrisSchinnerl/Sia,ericflo/Sia,mharkus/Sia,mtlynch/Sia,mharkus/Sia,MrStrong/Sia,MrStrong/Sia