Because with some of the versions installed. the stop return FAILED. And that is the reason why we also need to delete the lock.

Example: ami-44939930
...
notice: /Stageain]/Mongodb::Config/Execongodb-restart]/returns: Stopping mongod: [FAILED]
...