Reset current livechat "session"

I integrated a group chooser in a website based on this demo:

When a chat has ended, I would like to display the group chooser again (this part work, I also remove dynamically the script tag)
but when I select a group again, the livechat doesn’t appears (infinite load).
I guess the loaded livechat is not completely “removed”.

How can I remove/destroy used livechat to use it gain with another group ?

Thanks in advance.

The easiest way to solve this problem would be consulting it directly with our support via chat – they would have to check your site by themselves.

You can use this link to contact them: