wait 4ms for the latching relay to work