Re: server: Avoid accessing free'd thread pointers.