Replacing int with TimeSpan for executorShutdown period