Refactor IP.
Retry when setting LED.