improved countdown while stopping server