shutdown timeout set so as not to hang infinitely