Is it possible to add anchor status in RTLS connected/disconnected?

hi all,
iam thinking to add a feature in TDoA RTLS that when a anchor is disconnected ,LE needs to send anchor number to controller application.
i tried that but when the anchor disconnected the LE fails by showing some exceotins ??
is there anybody did this ??