moved 'setShutdownTimeout' into safer place