isTerminated
Returns true if all tasks have completed following shut down. Note that isTerminated is never true unless either shutdown or shutdownNow was called first.
Return
true if all tasks have completed following shut down