improvements to daemon handling