Server now shuts down when battle ends