Helix Core C/C++ Developer Guide (2019.1)
Disconnecting from the server
After your application has finished interacting with the Helix server, it must disconnect as illustrated below:
client.Final( &e ); e.Abort();
To ensure the application can exit successfully, make sure to call ClientApi::Final()
before
calling the destructor.
Your search for returned result(s).