def remove(t)
      raise ArgumentError.new('Expecting an ActionPool::Thread object') unless t.is_a?(ActionPool::Thread)
      del = @threads.include?(t)
      @threads.delete(t) if del
      fill_pool
      t.stop
      del
    end
def remove(t)
      raise ArgumentError.new('Expecting an ActionPool::Thread object') unless t.is_a?(ActionPool::Thread)
      del = @threads.include?(t)
      @threads.delete(t) if del
      fill_pool
      t.stop
      del
    end
t:: ActionPool::Thread to remove
 Removes a thread from the pool