bug fixed, when destroy control plane cache, master thread has to free memory