Dear David,
if your data is stored in a single 4D NIFTI file, I could imagine you hit some kind of locking issue when independent processes try to write to different regions of the file. Do you get the same error when processing 3D data?
Best,
Volkmar