Differentiate between stop and shutdown in order to restart again.