Implemented shutdown/restart operation