End While MUST always be placed after a matching While step.
See the While Step for additional details.