@95504669 Thanks for sharing the additional information. You will get IOTHUB_CLIENT_CONNECTION_RETRY_EXPIRED message when the maximum retry time is expired to reconnect the IoT hub client.
The Azure IoT Hub Client has a feature called RetryPolicy (which can be set using IotHubClient_SetRetryPolicy). It has a property that limits the maximum time the client can attempt to reconnect when failures occur. If that maximum time is reached, the Connection Status is invoked with status UNAUTHENTICATED and reason RETRY_EXPIRED.
Please see Connection and retry for Retry patterns for more details.
Regarding AzureTimerEventHandler and network switch delay, since there are no exact details available and/or logged, I suggest you please file a support request @ https://aka.ms/azsupt? Please let me know if you do not have a support plan.