Only prompts for a restart if necessary