Ripped out configurable SHUTDOWN_WAIT. Formatting.