Support real shutdown for multiple wrapped ManualShutdownRepositories

This avoids accidental bugs causing repositories not to get shutdown