SDK: Be robust when the SDK client removes events listeners while the SDK notifies all of them