Restart CGMiner before priorities update to prevent freezes