clean shutdowns working