This code removes the internal miner which is only useful on Testnet. This leaves the internal miner that is useful on RegTest intact.