'Shutdown the process or thread pool'

def terminate(self):

    super(MultiprocessingBackend, self).terminate()
    if (self.JOBLIB_SPAWNED_PROCESS in os.environ):
        del os.environ[self.JOBLIB_SPAWNED_PROCESS]
