Dispatcher class on separate thread