docs: def select(self, *args, **kwargs):
          """Python3 raises `ValueError` if socket is closed, because fd == -1"""
          try:
              return super(PatroniSequentialThreadingHandler, self).select(*args, **kwargs)
          except ValueError as e:
              raise select.error(9, str(e))