Handling start/stop mining thread first attempt