shutting down the thread pool as with no system exit this thread are
kept alive