code: def close(self):
          
          if self._poll is None:
              return
          self._poll.close()
          self._poll = None
          self._readers = 0
          self._writers = 0
          self._events = 0
          clear_callbacks(self)
docs: Close the poll instance.