In the past, when you clicked the “Shut down all servers” button on a game’s page, players would not be kicked out of the game until the OnClose function callback(s) were finished running (or the 30 second timeout expired). This was very useful because if you wanted to restart your game’s servers for an update, you could teleport all players into a “waiting place” upon shutdown, then teleport them back into the main place after those servers have finished shutting down.
But sometime recent (within the last 2-3 weeks I believe?) the behavior was changed so that players are instantly kicked out the moment you click the “Shut down all servers” button, before the OnClose callback(s) are able to run. This behavior change now makes it impossible to teleport players out upon shutdown or perform any other operations on players upon shutdown.
I’m not sure if the change was intentional or not, but the previous behavior would be more preferable. The previous behavior made it easy to perform smooth server restarts without having to lose too many players. Right now we hardly have any other options to smoothly close down old servers.