more graceful X exiting