On NetworkSessionFailedError do logout and login again
This error results in tons of MessageBoxes saying:
The specified configuration cannot be used.
all at the same time, which is really annoying. What's worse is that they keep popping up even if you close them even though the app is working correctly and loading your messages etc.
Edited by Waqar Ahmed