"Illegal break statement" is appearing. Can anyone suggest the reason to solve it

```
this.selectOrganization = function() {

        organizationLocator.each(function(element) {

            FunctionLibrary.getText(element, organizationName).then(function(text) {
                logger.info(text);
                if (text.includes('ImageResizingOrg')) {

                    FunctionLibrary.click(element, organizationName);

                    break;

                }
            })

        })
    };

```