remvoe shutdown method