Added exception handling to syncDispatcher.