BaseTask.exec() improvements.