So I am testing my Data Stores with BindToClose() function. And whenever I shutdown a server from the game's page, it take around 30 second for the server to shutdown from when I click 'shutdown server'. Is there anyway to set the time a server will take to shutdown a server without the 30 seconds delay.
Note: I am using BindToClose() Function in my data stores.

2 comments
Also, the delay is not of 30 seconds specific. The 30 seconds is the maximum delay allowed. If the functions inside BindToClose complete within 5 seconds, it will close in 5 seconds.
But whenever I will click 'shutdown server', the bindtoclose will run and save all the data of the player. But what if a player bought something 'rare' inside the delay time. That won't be saved because I tried to do that. It only saves when I click on 'Shutdown server' from the game page.