Use processingLock to guard state machine data