Close the X display when we're finished with it