Check if the ComplexJob object has completed. If so, create a new ComplexJob object.