improve daemon restart handling