Avoid WD.js asserter race condition