def __del__(self):
            self.updateSemaphore.acquire()
            for i in xrange(len(self.workers)):
                self.queue.put(None)
            for thread in self.workers:
                thread.join()
            self.updateSemaphore.release()
Return a better session config to use as default.
dataset/ETHPy150Open BD2KGenomics/toil/src/toil/job.py/Job.FileStore.__del__--crossover with--dataset/ETHPy150Open ppwwyyxx/tensorpack/tensorpack/tfutils/common.py/get_default_sess_config