Use CriticalSection to prevent deadlocks on dequeue
Merge pull request #202 from dimagi/process-fast-update

Use CriticalSection to prevent deadlocks on dequeue