Make logweb more friendly to shutdowns.