waitUntilTrainingJobCompletedOrStopped