I am using NgRX effects using catchError to return a failure action that disables my loading spinner as following:
catchError