Using Thread Pool Executor Python Code