Similar issues have been discussed here:
https://meta.discourse.org/t/generating-lots-of-invite-tokens/17563/16?u=tophee