Introduces a tiny sleep in the loop that checks HA availability

to avoid heavy CPU busy-wait