I had the same issues when network was disconnected. As a workaround, we developed our own sid/username cache which improve the reactivity and latency.