(Fix) Break out of loop after device is discovered

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.
Merge pull request #6 from CliftonAncell/patch-1

(Fix) Break out of loop after device is discovered