ensure daemon is only ran once