Use the library ngneat/until-destroy to handle the lifecycle of rxjs observables. With this library, we do not need to unsubscribe manually by writing takeUntil(NgOnDestroy$) or <ng-container> with async pipe. This library has been tested on numbersprotocol/capture-lite without any problem.