fixed unregister CloseCallback & conn_thread terminate;