NEXUS-6182: Mojo hangs in non-parallel build.

But might hang in parallel builds too.
Merge pull request #62 from sonatype/NEXUS-6182-non-parallel-hang

NEXUS-6182: Mojo hangs in non-parallel build.