When doing shutdown we allow each thread up to 5 seconds to exit on its