We need to ensure that the deployArtifacts and finalizeDeployArtifacts DO NOT run in parallel.
This can be achieved by adding the --no-parallel argument and also by splitting the deployArtifacts and finalizeDeployArtifacts into separate commands.
See this commit 651c94b on what changes need to be applied.