Add shutdown of bare-metal machine test