Prevent deadlock on rule progress update and get
Merge pull request #3883 from dimagi/prevent-rule-deadlock

Prevent deadlock on rule progress update and get