MULE-7041: EventProcessingThread must manage exceptions thrown by implementation classes

_ Fixing license header
(cherry picked from commit d1ab2bc)