Alessandro.Carioni You can easily unsubscribe from all items at once using the following code: for (const sub of client.getSubscriptions()) { client.unsubscribe(sub); }