Why does the thread based server only close the connected descriptor in one place, not 2 like the process based server?