// Sends stop metering to RPC Service
__int64 StopMeteringData(RPC_CLIENT_HANDLE RpcClientHandle) {
    RpcClient* client;
    if (RpcClientHandle == NULL) {
        return ERROR_INVALID_PARAMETER;
    }

    client = RetriveRpcClientFromHandle(RpcClientHandle);
    if (client == NULL) {
        return ERROR_INVALID_HANDLE;
    }

    return client->StopMetering();
}