daemonized version of blink example