[PATCH 1/1] server: Avoid removing thread twice from its desktop thread list.