docs: def remove_handler(self, name):
          ''' Remove a handler given a name
  
          Note, if multiple handlers have the same name the last matching
          instance in the handler list will be removed.
  
          Args:
              name:
                  The name of the handler to remove
          '''
          index = None
          for i, h in enumerate(self.capture_handlers):
              if h['name'] == name:
                  index = i
  
          if index is not None:
              self.capture_handlers[index]['logger'].close()
              del self.capture_handlers[index]