This function closes a connection to a Gateway daemon statistics protocol handler, using the gateway token provided.
This function
is called with a pointer to a gateway token. The function closes the connection
to the local or remote Gateway daemon statistics protocol handler identified
by the gateway token. Any resources associated with the connection, including
result sets, are freed, and result set tokens obtained with the specified
gateway token are no longer valid.
When the call returns, the gateway token pointer is set to null, showing that it is no longer valid.