Description
Currently if the mongod attempts a clean shutdown, if it runs into an error it re-starts the steps required for a clean shutdown, potentially resulting in a series of attempts to shut down. We should limit the number of clean shutdown attempts before defaulting to a hard shutdown.