def shutdown(self, block=False):
x = self.executor.shutdown(wait=block)<EOL>logger.debug("<STR_LIT>")<EOL>return x<EOL>
Shutdown the ThreadPool.

        Kwargs:
            - block (bool): To block for confirmations or not