DS8178 HC scanner reconnection issue

I am using DS8178 HC scanner for devices in master mode. The problem is that if the scanner is disconnected from the device(slave) and if after disconnection scanner scans desk or any other object (while in range of the device used), the scanner gets connected even if barcode of the slave device has not been scanned. What is needed is that scanner should forget the last connected device so that every time for new connection the pairing barcode of the slave device is to be scanned after disconnection.
Note: the disable Auto reconnect barcode was scanned to fix this but that did not solve this behaviour.