Added the ability to close the HID device

I've added the ability to close the HID device, because when using Node-RED it was breaking when deploying a change to something involving a Blink1.