SCISOFT NCD: SCI-1562 lock threads when making HDF library calls