> For the complete documentation index, see [llms.txt](https://docs.9proxy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.9proxy.com/developers/sdk/sdk-native-c/functions/closetokenchan.md).

# CloseTokenChan

Close the token wait channel. If the API key changes, SDK functions may pause for up to 20s awaiting a new key. Calling this stops the wait immediately.

```c
void CloseTokenChan()
```

***

## Parameters

* none

## Return Value

Close the token wait channel

## Example

```c
// example

CloseTokenChan();

```
