Revert "remove thread-wrecking code from RandWords"

This reverts commit 97ba1f4c063e8f8bc7870e227394cabff593635a.