RxJs 6 changed the way operators are used on Observables, making them usable as functions inside .pipe(). LeaveZone is not comapatible with it