rem: JoinThread(&joinThread);
add: JoinConnThread(&joinThread);
context: NsStopServer(Ns_Time *toPtr){    Ns_Thread joinThread;    int status;        Ns_Log(Notice, "serv: stopping connection threads");    status = NS_OK;    Ns_MutexLock(&lock);    shutdownPending = 1;    Ns_CondBroadcast(&cond);    while (status == NS_OK &&	   (firstWaitConnPtr != NULL || currentThreads > 0)) {	status = Ns_CondTimedWait(&cond, &lock, toPtr);    }    joinThread = lastThread;    lastThread = NULL;    Ns_MutexUnlock(&lock);    if (status != NS_OK) {	Ns_Log(Warning, "serv: timeout waiting for connection thread exit");    } else {	Ns_Log(Notice, "serv: connection threads stopped");	if (joinThread != NULL) {	    JoinThread(&joinThread);	}	ns_free(connBufPtr);    }}