Remove duplicate shutdown