Make the shutdown timeout configurable.
Merge bug26402