Fix freeze bug when bad miner program specified.