Close internal battle server on shutdown
Merge pull request #817 from TheUnknownOne/master

Close internal battle server on shutdown