Consider executing in a single thread/synchronously
Basically what we need to do here is:
Remove the AuditItemExpiry Trigger & Action in server (currently in runs via our main rule execution engine
Introduce a scheduled job that runs on schedule configured by user
Kick of a single background ‘automation-audit-expiry’ thread that then does the expiry.
So basically switch away from using our rule execution engine for this task.