yeap, should init pthread_cond_t, then can get out from clean up handler
add close all reply