title: Disabling Subscriptions
body: <p>I need to turn off subscriptions to not hang. Am I disconnecting subscriptions correctly? If  go to another page, the request will work, although the process component must be virtually inactive.</p>
  <pre><code>  ngUnsubscribe = new Subject&lt;void&gt;();
  
    ngOnInit() {
      setInterval(() =&gt; {
        this.load();
      }, 1000);
    }
  
    load() {
      this._card.get().pipe(takeUntil(this.ngUnsubscribe)).subscribe(card =&gt; {
        this.card = card;
      })
      
    }
  
    ngOnDestroy() {
      this.ngUnsubscribe.next();
      this.ngUnsubscribe.complete();
    }
  </code></pre>