Thread_connect