Allow setting training time limit.