Miner cleanup