Add stop_task to dh_params