Trap the IntegrityError

The IntegrityError could happen in the race condition when two processes adding the same user to the same group.