Check user pattern for MessageExclusion extension

Either it can throw exception during polling.