(self, *args, **kwargs)
| 3756 | return old |
| 3757 | |
| 3758 | def _submit(self, *args, **kwargs): |
| 3759 | try: |
| 3760 | if not self._cluster.is_shutdown: |
| 3761 | return self._cluster.executor.submit(*args, **kwargs) |
| 3762 | except ReferenceError: |
| 3763 | pass |
| 3764 | return None |
| 3765 | |
| 3766 | def shutdown(self): |
| 3767 | # stop trying to reconnect (if we are) |