Unique user_id for many channels in parallel: how to?

A solution: https://stackoverflow.com/a/61638240/1786393