LPS-51975 add reentrant lock to public method to prevent concurrent modification of notificationEvents