Separate the mining threads from the control threads