add shutdown method in example