make shutdown timeout configurable