Add critical section around exceptionMessageCaughtInParallelBlock in assembling.