Snips : reading the sessionId?

Hello,
I am using snips with Hassbian with intent_script and python_scripts.

Everything is working but in snips logs I see:

[Dialogue] session with id ‘fb89ad56-141a-425c-a562-e8cab4c4bfd5’ was ended on site default. The session was ended because one of the component didn’t respond in a timely manner

So, I would like to handle to close the session in the script but I have no idea how to read the sessionId using the “HA Component” from Snips Console.
Any idea?