sleep while triggering supervisor restart.