The DeleteSession method releases the memory allocated for
an LLM_SESSION structure created by CreateSession.
After a session structure has been used with ConnectEx, it
may be deleted immediately. The library makes an internal copy of the
session configuration when the client session is created, so the
original structure does not need to remain allocated for the lifetime of
the client handle.
This method does not disconnect an active client session. To close a
connection created by Connect or ConnectEx, call
Disconnect.