Clean the g_local_work when cgminer start