class Aws::EndpointCache

def stop_polling!

kill all polling threads
def stop_polling!
  @pool.each { |_, t| Thread.kill(t) }
  @pool = {}
end