Added better warning message for restart/stop