def terminate(self):
        self.proc.terminate()
Thread should pin when the cookie is set.
dataset/ETHPy150Open pybee/cricket/cricket/executor.py/Executor.terminate--crossover with--dataset/ETHPy150Open jbalogh/django-multidb-router/multidb/tests.py/MiddlewareTests.test_pin_on_cookie