Rémi Bernon : server: Avoid removing thread twice from its desktop thread list.