Rename miner_init to miner_finish