Not getting mucroom invitation

Hi team,

We are using xmpp workgroup protocol to implement chat engine using smack API where client can start a chat with an agent. Once a particular client leaves the chat room, the agent has to wait for some time before he also leaves the room(This is part of our requirement) and after that room will be destroyed.

The issue we are facing here is if client after leaving the room immediately starts a new chat(before the previous chat room is destroyed),then client is not getting the new chat invitation.Instead he is being put into some work group queue until the previous room is destroyed.

Can someone help me why previous chat room has to be destroyed for starting a new chat although client is no more in that chat room.