Thanks for your report @gassim.
I cannot reproduce this 5-second delay. Tested here on meta with multiple invites both with and without adding to a group. If you see this delay every time, can you try it next time with the developer tools open in the console tab and see if there are any errors reported there?
I can reproduce this one, it looks like there is a regression here, we will fix this shortly.