Fix ha_tools.restart_member for mongoses.