# Shut down

To shut down an SDK, use the `close` method. This will cleanly stop all its background processes, flush all its buffered logs and terminate all its connections:

```typescript
process.on("SIGTERM", async () => {
  const hypertune = await getHypertune();
  await hypertune.close();
});
```
