Possible to join a random group

If no group can be joined. Generate new group