[BUGFIX] Improve error messages when trying to execute stop commands on components in an invalid state