Prior to this fix, after a gateway device was discovered, the loop would continue and you would have to wait for the SocketTimeoutException (3 seconds) before the thread would finish. This speeds up discovery by breaking out of the loop after the device is added.
Prior to this fix, after a gateway device was discovered, the loop would continue and you would have to wait for the SocketTimeoutException (3 seconds) before the thread would finish. This speeds up discovery by breaking out of the loop after the device is added.