Fixed missing dependency and race condition

+ dependency missing on sleep in package.json
+ fixed race condition on bind and setBroadcast (although this may have only occurred on laptop not block)