2006 2

This is just to get more log data about particularly XMPP errors. If they're all only happening on shutdown, we should be in good shape.
We could enter shutdown at this point.  This function should return the right value anyway, but the `shutdown` thread would be executed.  I assume this would be a no-op?