This avoids 10s of seconds of delay when you invite several people at once through the web UI. (imported from commit 75acdbdb04caf62bbb08affc7796330246d8a00e)