Wait for ModeShape repository to properly shutdown during unload.
Updated to ModeShape 3.8.1.Final