chain is implemented using
mergeMap which is known to not unsubscribe from the passed observable on source emit. It's recommended to use
switchMap in such cases. Is
mergeMap used intentionally here (for some laws to hold) or it can be replaced with
That's a good idea!