nicely shutdown