Fix connection wrapped in the iotDashboard object