This guarantees that the caller of the start function will know whether the worker is running by looking at its state. This will prevent multiple successive stop calls to a worker which happened when the monitors were altered via the REST API.
This guarantees that the caller of the start function will know whether the worker is running by looking at its state. This will prevent multiple successive stop calls to a worker which happened when the monitors were altered via the REST API.