The `pids` module returns the list of the PID in a `pids` key. This change ensures we correctly wait for the end of the previous mongod instances before we start the next ones. In addition, we remove an unnecessary `ignore_errors`.