Steps to reproduce:
1. Start running workflows
2. Update encoding profiles
If unlucky, a WOH can look for an encoding profile between when it's been de-registered and re-registered, leading to
WorkflowOperationException: java.lang.IllegalStateException: Encoding profile 'PROFILENAME' was not found
Running workflows should not fail when profiles are updated.
Workaround (if any):
Only update profiles when no workflows are running.