Fix (hopefully) a bug in SnapshotRecorder threadMethod().