Safe reboot mongo

If the requested node is primary then step it down before rebooting.