Added locks on the slice appends as it missed a few records due to the highly concurrent nature of the export