add socket_thread