Refactor the dispatcher into own method, catching exception during post event