> 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-nodejs/functions/closetokenchan.md).

# closeTokenChan()

Closes the token update wait channel.

* If the API key changes, some SDK calls wait up to 20s for a new key.
* Calling this stops the wait immediately.

```javascript
closeTokenChan()
```

***

## Return Value

void : Closes the token update wait channel

## Example

```javascript
// example

sdk.closeTokenChan();

```
