check every second for kill_timeout seconds if the daemon has terminated...

..., rather than only checking at the end