Enables shutting down of server