Added task_dispatch_mode setting option.