To me this is probably reasonable for now, but I think we need to reconsider our strategy for sign out. The natural case would be for the sign out to be passed to the SPA so that it can cleanly shutdown the long polling, rather than waiting to be notified of a failure which isn't really a failure.

However, I think there's some UX things around that, so its not clear to me that could easily be implemented in the short term. I can take an action to follow that up.

/cc @fqueze