By default, always spawn the thread for minting but zero thread for CPU mining.