Catching MonitoringPublisherException instead of generic Exception.