Fix polling for cec device discovery
Instead of polling every second, run the device discovery loop every 20 seconds and also only keep running it till a device has been discovered, once a device is discovered there is no need to keep this loop alive