Replace self._threadpool.close() with self._threadpool.kill() in hub.py.