stop to turn off the graphics device