Better control of stopping daemon before syncing time