Open the HID port only when necessarry, preventing its blockage by the service