Workflow events monitor: only stop after it has been started
Description
There's a race condition between starting and stopping the workflow events monitor: if stop is called before it was actually started (and connected to rabbitmq), an exception will be thrown.