Server shutdown callback
Function to set attribute
Merge pull request #110 from selenaaa/server_stuff

Server shutdown callback