Fix tornado doesn't shutdown.
tornado: Fix setup scripts.