Add dispatcherHandler callback. Add method to stop the dispatcher service