Kill the miner on restart