trying to detect when peers disconnect