restart and shutdown behavior changed.