'Shutdown the pool and restart a new one with the same parameters'

def abort_everything(self, ensure_ready=True):

    self.terminate()
    if ensure_ready:
        self.configure(n_jobs=self.parallel.n_jobs, parallel=self.parallel, **self.parallel._backend_args)
