Fix to gateways DeviceManager to retry connecting to devices that are unknown to the DeviceDB at the beginning