Client stopping cleanup