fixed unsubscription of dead client #962