using shutdown in restart utility function