I am currently trying to send messages to the Azure IoT Hub using MQTT and the C library. When sending a message via IoTHubDeviceClient_SendEventAsync shortly after the network connection is lost, it takes several minutes until the callback is called.
Is there any way to shorten this time to get faster response if the connection is lost?