
Users might have their command logic inside a resource that might not be running at the the time this command is executed.
Adding a resource check before running the command would be benefitial. If the resource is found, attempt to start it and verify it is running.
If this fails, it tries again after some time.