Function _disableHotplugEvents