Clean shutdown for when the server has an unrecoverable error