thr_close
if ((error = pthread_create(&thr, NULL, thr_close, &sun)))
error = pthread_create(&thr, NULL, thr_close, &fd);