parameterise the external shutdown timeout.