terminate_session.Rd
Terminates a session and releases allocated memory.
terminate_session()
0 if successful.