docs: def _threads(self, handlers):
          """ Calculates maximum number of threads that will be started """
          if self.threads < len(handlers):
              return self.threads
          return len(handlers)