the st_thread_exit is ok, not the memory leak cause.