This exception cannot be NotConnected as they can be more errors like 500 on server side not related with NotConnected errors, then this modification is misleading.