able to disconnect device while it is reading from another thread
Add example for Acan barcode reader 9800