improve names and comments of daemon shutdown expression