[misc] properly handle SIGTERM

Initiate server shutdown on SIGTERM to save worlds and other data