Prevent additional attempts at closing HID braille connections (#16712)
Fixes #16218
Summary of the issue:
NVDA could silently crash when a Braille HID device was disconnected/closed.
Description of user facing changes
No more crashes under the above conditions.
Description of development approach
Introduced a flag that tracks if the close() method has already been called, and don't perform the operation again.