exit out of game smoothly