blink code fix; avoid sending chars when not connected