Ensure that the server disposes of the current world when exiting