Save world on shutdown (from command) does not work onclose yet