Check if mining threads are initialized before restarting them.